import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { BuffetingComponent } from './buffeting/buffeting.component';
import { IframeUseComponent } from './iframe-use/iframe-use.component';

const childRoutes: Routes = [
    {
        path: 'buffeting',
        component: BuffetingComponent,
    },
    {
        path: 'iframe',
        component: IframeUseComponent,
    },
    {
        path: '',
        pathMatch: 'full',
        redirectTo: 'buffeting',
    },
];
@NgModule({
    imports: [RouterModule.forChild(childRoutes)],
    exports: [RouterModule],
})
export class OtherRoutingModule { }
